-- GENERATED SPELL FOR [Tamed Proto-Whelp] --


function spell0_23882(pUnit, Event) --@Flamespit,n/a--
pUnit:FullCastSpellOnTarget(11021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23882', 3000, 1)
end

function Sorts_23882(pUnit, Event)
local choix_sorts_23882 = math.random(0, 0)
if choix_sorts_23882 == 0 then
pUnit:RegisterEvent('spell0_23882', 1, 1)
end
end

function mob23882_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23882', math.random(1500, 3000), 1)
end

function mob23882_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23882_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23882_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23882, 1, 'mob23882_Action')
RegisterUnitEvent(23882, 2, 'mob23882_Leave')
RegisterUnitEvent(23882, 3, 'mob23882_Kill')
RegisterUnitEvent(23882, 4, 'mob23882_Die')
